

import request from '@/router/axios'

const prefix = '/rca/swckothenticketrevenuemanagementlog'

export function fetchList(query) {
  return request({
    url: prefix+'/page',
    method: 'get',
    params: query
  })
}

export function exportTamplate(query) {
  return request({
    url: prefix+'/exportTamplate',
    method: 'get',
    responseType: 'blob',
    params: query
  })
}

export function listPreview(query) {
  return request({
    url: prefix+'/listPreview',
    method: 'get',
    params: query
  })
}

export function saveBatch(obj) {
  return request({
    url: prefix+'/saveBatch',
    method: 'post',
    data: obj
  })
}

export function dataExport(query) {
  return request({
    url: prefix+'/export',
    method: 'get',
    responseType: 'blob',
    params: query
  })
}
